import { POST, UPLOAD } from '@/services/request.js'

const card = {
    ApiCardType(data = {}) {
        return POST({
            url: '/card/card/type',
            params: data
        })
    },
    ApiCard(data = {}) {
        return POST({
            url: '/card/card/card',
            params: data
        })
    },
    ApiCardAdd(data = {}) {
        return UPLOAD({
            url: '/card/card/add',
            params: data
        })
    },
    ApiCardList(data = {}) {
        return POST({
            url: '/card/card/list',
            params: data
        })
    },
    ApiCardPay(data = {}) {
        return POST({
            url: '/card/card/pay',
            params: data
        })
    }
}

export default card